﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Reflection;

using Newtonsoft.Json;

namespace GetWebInfo
{
    class IndustrialStatements : Statement
    {
        public IndustrialStatements()
        {
            this.StatementClass = StatementClassification.Industrial;
        }


        #region  other 非报表里（报表附注里面的），且比较重要的数据

        //现金流量表补充材料
        //***********************************************************************************

        /// <summary>
        /// 资产减值准备
        /// </summary>
        [StatementsAttribute("资产减值准备", StatementType.Other)]
        public decimal Impairment_Of_Assets;

        /// <summary>
        /// 固定资产折旧、油气资产折耗、生产性生物资产折旧
        /// </summary>
        [StatementsAttribute("固定资产折旧、油气资产折耗、生产性生物资产折旧", StatementType.Other)]
        public decimal Depreciation;

        /// <summary>
        /// 无形资产摊销
        /// </summary>
        [StatementsAttribute("无形资产摊销", StatementType.Other)]
        public decimal Amortization;


        /// <summary>
        /// 长期待摊费用摊销
        /// </summary>
        [StatementsAttribute("长期待摊费用摊销", StatementType.Other)]
        public decimal Amortization_Of_Long_Term_Prepaid_Expenses;

        /// <summary>
        /// 处置固定资产、无形资产和其他长期资产的损失
        /// </summary>
        [StatementsAttribute("处置固定资产、无形资产和其他长期资产的损失", StatementType.Other)]
        public decimal Disposal_Of_Fixed_Assets_Intangible_Assets_And_Other_Long_Term_Assets;

        /// <summary>
        /// 固定资产报废损失
        /// </summary>
        [StatementsAttribute("固定资产报废损失", StatementType.Other)]
        public decimal Loss_Of_Disposal_Of_Fixed_Assets;

        /// <summary>
        /// 公允价值变动损失
        /// </summary>
        [StatementsAttribute("公允价值变动损失", StatementType.Other)]
        public decimal Changes_In_Fair_Value_Losses;

        /// <summary>
        /// 财务费用
        /// </summary>
        [StatementsAttribute("财务费用", StatementType.Other)]
        public decimal Financial_Costs_for_CashFlow;

        /// <summary>
        /// 投资损失
        /// </summary>
        [StatementsAttribute("投资损失", StatementType.Other)]
        public decimal Investment_Losses;

        /// <summary>
        /// 递延所得税资产减少
        /// </summary>
        [StatementsAttribute("递延所得税资产减少", StatementType.Other)]
        public decimal Decrease_In_Deferred_Income_Tax_Assets;

        /// <summary>
        /// 递延所得税负债增加
        /// </summary>
        [StatementsAttribute("递延所得税负债增加", StatementType.Other)]
        public decimal Increase_In_Deferred_Income_Tax_Liabilities;

        /// <summary>
        /// 存货的减少
        /// </summary>
        [StatementsAttribute("存货的减少", StatementType.Other)]
        public decimal Decrease_In_Inventories;

        /// <summary>
        /// 经营性应收项目的减少
        /// </summary>
        [StatementsAttribute("经营性应收项目的减少", StatementType.Other)]
        public decimal Reduction_Of_Operating_Receivables;

        /// <summary>
        /// 经营性应付项目的增加
        /// </summary>
        [StatementsAttribute("经营性应付项目的增加", StatementType.Other)]
        public decimal Increase_In_Operating_Payables;

        /// <summary>
        /// 其他
        /// </summary>
        [StatementsAttribute("其他", StatementType.Other)]
        public decimal Other;


        //***********************************************************************************

        /// <summary>
        /// 非经常性损益
        /// </summary>
        [StatementsAttribute("非经常性损益", StatementType.Other)]
        public decimal Non_recurring_Gains_and_Losses;

        /// <summary>
        /// 利息支出
        /// </summary>
        [StatementsAttribute("利息支出", StatementType.Other)]
        public decimal Interest_Expense;

        /// <summary>
        /// 利息收入
        /// </summary>
        [StatementsAttribute("利息收入", StatementType.Other)]
        public decimal Interest_Income;
        
        /// <summary>
        /// 员工人数
        /// </summary>
        [StatementsAttribute("员工人数", StatementType.Other)]
        public decimal The_Number_of_Employees;

        /// <summary>
        /// 员工专业结构
        /// </summary>
        [StatementsAttribute("员工专业结构", StatementType.Other)]
        public string Professional_staff_structure;

        /// <summary>
        /// 退休人员数量
        /// </summary>
        [StatementsAttribute("退休人员数量", StatementType.Other)]
        public decimal The_Number_of_Retired_Employees;

        /// <summary>
        /// 管理者前三甲年薪
        /// </summary>
        [StatementsAttribute("管理者前三甲年薪", StatementType.Other)]
        public decimal Managers_Before_The_Three_Annual_Salary;

        /// <summary>
        /// 管理者前三甲持股
        /// </summary>
        [StatementsAttribute("管理者前三甲持股", StatementType.Other)]
        public decimal The_Top_Three_Holdings_Before_The_Manager;

        /// <summary>
        /// 股息
        /// </summary>
        [StatementsAttribute("股息", StatementType.Other)]
        public decimal Dividends;

        #endregion

        #region  资产负债表 consolidated balance sheets

        #region 资产 Assets

        #region 流动资产 Current assets

        /// <summary>
        /// 货币资金
        /// </summary>
        [StatementsAttribute("货币资金", StatementType.Balance)]
        public decimal Cash_at_Bank_and_on_Hand;

        /// <summary>
        /// 交易性金融资产
        /// </summary>
        [StatementsAttribute("交易性金融资产", StatementType.Balance)]
        public decimal Financial_Assets_Held_for_Trading;

        /// <summary>
        /// 应收票据
        /// </summary>
        [StatementsAttribute("应收票据", StatementType.Balance)]
        public decimal Notes_Receivable;

        /// <summary>
        /// 应收账款
        /// </summary>
        [StatementsAttribute("应收账款", StatementType.Balance)]
        public decimal Accounts_Receivable;

        /// <summary>
        /// 预付款项
        /// </summary>
        [StatementsAttribute("预付款项", StatementType.Balance)]
        public decimal Advances_to_Suppliers;

        /// <summary>
        /// 其他应收款
        /// </summary>
        [StatementsAttribute("其他应收款", StatementType.Balance)]
        public decimal Other_Receivables;

        /// <summary>
        /// 应收关联公司款
        /// </summary>
        [StatementsAttribute("应收关联公司款", StatementType.Balance)]
        public decimal Related_Companies_Receivable;

        /// <summary>
        /// 应收利息
        /// </summary>
        [StatementsAttribute("应收利息", StatementType.Balance)]
        public decimal Interest_Receivable;

        /// <summary>
        /// 应收股利
        /// </summary>
        [StatementsAttribute("应收股利", StatementType.Balance)]
        public decimal Dividends_Receivable;

        /// <summary>
        /// 存货
        /// </summary>
        [StatementsAttribute("存货", StatementType.Balance)]
        public decimal Inventories;        

        /// <summary>
        /// 消耗性生物资产
        /// </summary>
        [StatementsAttribute("消耗性生物资产", StatementType.Balance)]
        public decimal Biological_of_Consumable_Assets;

        /// <summary>
        /// 一年内到期的非流动资产
        /// </summary>
        [StatementsAttribute("一年内到期的非流动资产", StatementType.Balance)]
        public decimal Current_Portion_of_Non_Current_Assets;

        /// <summary>
        /// 其他流动资产
        /// </summary>
        [StatementsAttribute("其他流动资产", StatementType.Balance)]
        public decimal Other_Current_Assets;

        /// <summary>
        /// 流动资产合计
        /// </summary>
        [StatementsAttribute("流动资产合计", StatementType.Balance)]
        public decimal Total_Current_Assets;

        #endregion

        
        #region 非流动资产 Non-current assets

        /// <summary>
        /// 可供出售金融资产
        /// </summary>
        [StatementsAttribute("可供出售金融资产", StatementType.Balance)]
        public decimal Available_for_Sale_Financial_Assets;

        /// <summary>
        /// 持有至到期投资
        /// </summary>
        [StatementsAttribute("持有至到期投资", StatementType.Balance)]
        public decimal Held_to_Maturity_Investments;

        /// <summary>
        /// 长期应收款
        /// </summary>
        [StatementsAttribute("长期应收款", StatementType.Balance)]
        public decimal Long_Term_Receivables;

        /// <summary>
        /// 长期股权投资
        /// </summary>
        [StatementsAttribute("长期股权投资", StatementType.Balance)]
        public decimal Long_Term_Equity_Investments;

        /// <summary>
        /// 投资性房地产
        /// </summary>
        [StatementsAttribute("投资性房地产", StatementType.Balance)]
        public decimal Investment_Properties;
                
        /// <summary>
        /// 固定资产
        /// </summary>
        [StatementsAttribute("固定资产", StatementType.Balance)]
        public decimal Fixed_Assets;

        /// <summary>
        /// 在建工程
        /// </summary>
        [StatementsAttribute("在建工程", StatementType.Balance)]
        public decimal Construction_in_Progress;

        /// <summary>
        /// 工程物资
        /// </summary>
        [StatementsAttribute("工程物资", StatementType.Balance)]
        public decimal Construction_Materials;

        /// <summary>
        /// 固定资产清理
        /// </summary>
        [StatementsAttribute("固定资产清理", StatementType.Balance)]
        public decimal Fixed_Assets_Pending_for_Disposal;

        /// <summary>
        /// 生产性生物资产
        /// </summary>
        [StatementsAttribute("生产性生物资产", StatementType.Balance)]
        public decimal Bearer_Biological_Assets;

        /// <summary>
        /// 油气资产
        /// </summary>
        [StatementsAttribute("油气资产", StatementType.Balance)]
        public decimal Oil_and_Gas_Assets;

        /// <summary>
        /// 无形资产
        /// </summary>
        [StatementsAttribute("无形资产", StatementType.Balance)]
        public decimal Intangible_Assets;

        /// <summary>
        /// 开发支出
        /// </summary>
        [StatementsAttribute("开发支出", StatementType.Balance)]
        public decimal Development_Costs;

        /// <summary>
        /// 商誉
        /// </summary>
        [StatementsAttribute("商誉", StatementType.Balance)]
        public decimal Goodwill;

        /// <summary>
        /// 长期待摊费用
        /// </summary>
        [StatementsAttribute("长期待摊费用", StatementType.Balance)]
        public decimal Long_Term_Prepaid_Expenses;

        /// <summary>
        /// 递延所得税资产
        /// </summary>
        [StatementsAttribute("递延所得税资产", StatementType.Balance)]
        public decimal Deferred_Tax_Assets;

        /// <summary>
        /// 其他非流动资产
        /// </summary>
        [StatementsAttribute("其他非流动资产", StatementType.Balance)]
        public decimal Other_Non_Current_Assets;

        /// <summary>
        /// 非流动资产合计
        /// </summary>
        [StatementsAttribute("非流动资产合计", StatementType.Balance)]
        public decimal Total_Non_Current_Assets;

        #endregion

        /// <summary>
        /// 资产总计
        /// </summary>
        [StatementsAttribute("资产总计", StatementType.Balance)]
        public decimal Total_Assets;

        #endregion

        #region 负债及所有者权益 Liabilities and owners' equity

        #region 流动负债 Current liabilities

        /// <summary>
        /// 短期借款
        /// </summary>
        [StatementsAttribute("短期借款", StatementType.Balance)]
        public decimal Short_Term_Borrowings;

        /// <summary>
        /// 交易性金融负债
        /// </summary>
        [StatementsAttribute("交易性金融负债", StatementType.Balance)]
        public decimal Financial_Liabilities_Held_for_Trading;

        /// <summary>
        /// 应付票据
        /// </summary>
        [StatementsAttribute("应付票据", StatementType.Balance)]
        public decimal Notes_Payable;

        /// <summary>
        /// 应付账款
        /// </summary>
        [StatementsAttribute("应付账款", StatementType.Balance)]
        public decimal Accounts_Payable;

        /// <summary>
        /// 预收款项
        /// </summary>
        [StatementsAttribute("预收款项", StatementType.Balance)]
        public decimal Advances_from_Customers;

        /// <summary>
        /// 应付职工薪酬
        /// </summary>
        [StatementsAttribute("应付职工薪酬", StatementType.Balance)]
        public decimal Employee_Benefits_Payable;

        /// <summary>
        /// 应交税费
        /// </summary>
        [StatementsAttribute("应交税费", StatementType.Balance)]
        public decimal Taxes_Payable;

        /// <summary>
        /// 应付利息
        /// </summary>
        [StatementsAttribute("应付利息", StatementType.Balance)]
        public decimal Interest_Payable;

        /// <summary>
        /// 应付股利
        /// </summary>
        [StatementsAttribute("应付股利", StatementType.Balance)]
        public decimal Dividends_Payable;

        /// <summary>
        /// 其他应付款
        /// </summary>
        [StatementsAttribute("其他应付款", StatementType.Balance)]
        public decimal Other_Payables;

        /// <summary>
        /// 应付关联公司款
        /// </summary>
        [StatementsAttribute("应付关联公司款", StatementType.Balance)]
        public decimal Related_Companies_Payable;

        /// <summary>
        /// 一年内到期的非流动负债
        /// </summary>
        [StatementsAttribute("一年内到期的非流动负债", StatementType.Balance)]
        public decimal Current_Portion_of_Non_Current_Liabilities;

        /// <summary>
        /// 其他流动负债
        /// </summary>        
        [StatementsAttribute("其他流动负债", StatementType.Balance)]
        public decimal Other_Current_Liabilities;

        /// <summary>
        /// 流动负债合计
        /// </summary>
        [StatementsAttribute("流动负债合计", StatementType.Balance)]
        public decimal Total_Current_Liabilities;

        #endregion

        #region 非流动负债 Non-current liabilities

        /// <summary>
        /// 长期借款
        /// </summary>
        [StatementsAttribute("长期借款", StatementType.Balance)]
        public decimal Long_Term_Borrowings;

        /// <summary>
        /// 应付债券
        /// </summary>
        [StatementsAttribute("应付债券", StatementType.Balance)]
        public decimal Debentures_Payable;

        /// <summary>
        /// 长期应付款
        /// </summary>
        [StatementsAttribute("长期应付款", StatementType.Balance)]
        public decimal Long_Term_Payables;

        /// <summary>
        /// 专项应付款
        /// </summary>
        [StatementsAttribute("专项应付款", StatementType.Balance)]
        public decimal Payables_for_Specific_Projects;

        /// <summary>
        /// 预计负债
        /// </summary>
        [StatementsAttribute("预计负债", StatementType.Balance)]
        public decimal Provisions;

        /// <summary>
        /// 递延所得税负债
        /// </summary>
        [StatementsAttribute("递延所得税负债", StatementType.Balance)]
        public decimal Deferred_Tax_Liabilities;

        /// <summary>
        /// 其他非流动负债
        /// </summary>
        [StatementsAttribute("其他非流动负债", StatementType.Balance)]
        public decimal Other_Non_Current_Liabilities;

        /// <summary>
        /// 非流动负债合计
        /// </summary>
        [StatementsAttribute("非流动负债合计", StatementType.Balance)]
        public decimal Total_Non_Current_Liabilities;

        #endregion

        /// <summary>
        /// 负债合计
        /// </summary>
        [StatementsAttribute("负债合计", StatementType.Balance)]
        public decimal Total_Liabilities;


        #region 所有者权益 Owners' equity

        /// <summary>
        /// 实收资本（或股本）
        /// </summary>
        [StatementsAttribute("实收资本（或股本）", StatementType.Balance)]
        public decimal Paid_in_Capital;

        /// <summary>
        /// 资本公积
        /// </summary>
        [StatementsAttribute("资本公积", StatementType.Balance)]
        public decimal Capital_Surplus;

        /// <summary>
        /// 盈余公积
        /// </summary>
        [StatementsAttribute("盈余公积", StatementType.Balance)]
        public decimal Surplus_Reserve;

        /// <summary>
        /// 库存股
        /// </summary>
        [StatementsAttribute("库存股", StatementType.Balance)]
        public decimal Stock_Shares;

        /// <summary>
        /// 未分配利润
        /// </summary>
        [StatementsAttribute("未分配利润", StatementType.Balance)]
        public decimal Undistributed_Profits;

        /// <summary>
        /// 少数股东权益
        /// </summary>
        [StatementsAttribute("少数股东权益", StatementType.Balance)]
        public decimal Minority_Interest;

        /// <summary>
        /// 外币报表折算价差
        /// </summary>
        [StatementsAttribute("外币报表折算价差", StatementType.Balance)]
        public decimal Difference_on_Translation_of_Foreign_Currency_Financial_Statements;

        /// <summary>
        /// 非正常经营项目收益调整
        /// </summary>
        [StatementsAttribute("非正常经营项目收益调整", StatementType.Balance)]
        public decimal Adjustment_Income_of_Non_Normal_Operation_of_the_Project;

        /// <summary>
        /// 归属母公司所有者权益（或股东权益）
        /// </summary>
        [StatementsAttribute("归属母公司所有者权益（或股东权益）", StatementType.Balance)]
        public decimal Total_Equity_Attributable_to_Equity_Holders_of_the_Company;

        /// <summary>
        /// 所有者权益（或股东权益）合计
        /// </summary>
        [StatementsAttribute("所有者权益（或股东权益）合计", StatementType.Balance)]
        public decimal Total_Owners_Equity;

        #endregion

        /// <summary>
        /// 负债和所有者（或股东权益）合计
        /// </summary>
        [StatementsAttribute("负债和所有者（或股东权益）合计", StatementType.Balance)]
        public decimal Total_Liabilities_And_Owner_Equity;

        #endregion

        #endregion

        #region 损益表 consolidated statements of operations

        /// <summary>
        /// 营业收入
        /// </summary>
        [StatementsAttribute("营业收入", StatementType.Operation)]
        public decimal Revenue;

        /// <summary>
        /// 减：营业成本
        /// </summary>
        [StatementsAttribute("营业成本", StatementType.Operation)]
        public decimal Cost_of_Sales;

        /// <summary>
        /// 减：营业税金及附加
        /// </summary>
        [StatementsAttribute("营业税金及附加", StatementType.Operation)]
        public decimal Taxes_and_Surcharges;

        /// <summary>
        /// 减：销售费用
        /// </summary>
        [StatementsAttribute("销售费用", StatementType.Operation)]
        public decimal Selling_and_Distribution_Expenses;

        /// <summary>
        /// 减：管理费用
        /// </summary>
        [StatementsAttribute("管理费用", StatementType.Operation)]
        public decimal General_and_Administrative_Expenses;

        /// <summary>
        /// 减：勘探费用
        /// </summary>
        [StatementsAttribute("勘探费用", StatementType.Operation)]
        public decimal Exploration_Expenses;

        /// <summary>
        /// 减：财务费用
        /// </summary>
        [StatementsAttribute("财务费用", StatementType.Operation)]
        public decimal Financial_Expenses;

        /// <summary>
        /// 减：资产减值损失
        /// </summary>
        [StatementsAttribute("资产减值损失", StatementType.Operation)]
        public decimal Asset_Impairment_Losses;

        /// <summary>
        /// 加：公允价值变动净收益
        /// </summary>
        [StatementsAttribute("公允价值变动净收益", StatementType.Operation)]
        public decimal Profit_Arising_from_Changes_in_Fair_Value;

        /// <summary>
        /// 加：投资收益
        /// </summary>
        [StatementsAttribute("投资收益", StatementType.Operation)]
        public decimal Investment_Income;

        /// <summary>
        /// 其中（include）：对联营企业和合营企业的投资收益
        /// </summary>
        [StatementsAttribute("对联营企业和合营企业的投资收益", StatementType.Operation)]
        public decimal Share_of_Profit_of_Associates_and_Joint_Ventures;

        /// <summary>
        /// 影响营业利润的其他科目
        /// </summary>
        [StatementsAttribute("影响营业利润的其他科目", StatementType.Operation)]
        public decimal Affect_the_Operating_Profit_of_the_Other_Subjects;

        /// <summary>
        /// 营业利润
        /// </summary>
        [StatementsAttribute("营业利润", StatementType.Operation)]
        public decimal Operating_Profit;

        /// <summary>
        /// 加：补贴收入
        /// </summary>
        [StatementsAttribute("补贴收入", StatementType.Operation)] 
        public decimal Subsidy_Income;

        /// <summary>
        /// 加：营业外收入
        /// </summary>
        [StatementsAttribute("营业外收入", StatementType.Operation)]
        public decimal Non_Operating_Income;

        /// <summary>
        /// 减：营业外支出
        /// </summary>
        [StatementsAttribute("营业外支出", StatementType.Operation)]
        public decimal Non_Operating_Expenses;

        /// <summary>
        /// 其中：非流动资产处置净损失
        /// </summary>
        [StatementsAttribute("非流动资产处置净损失", StatementType.Operation)]
        public decimal Losses_on_Disposal_of_Non_Current_Assets;

        /// <summary>
        /// 加：影响利润总额的其他科目
        /// </summary>
        [StatementsAttribute("影响利润总额的其他科目", StatementType.Operation)]
        public decimal The_Other_Subjects_that_Affect_The_Total_Profit;

        /// <summary>
        /// 利润总额
        /// </summary>
        [StatementsAttribute("利润总额", StatementType.Operation)]
        public decimal Total_Profit;

        /// <summary>
        /// 减：所得税
        /// </summary>
        [StatementsAttribute("所得税", StatementType.Operation)]
        public decimal Income_Tax_Expenses;

        /// <summary>
        /// 加：影响净利润的其他科目
        /// </summary>
        [StatementsAttribute("影响净利润的其他科目", StatementType.Operation)]
        public decimal Other_Subjects_that_Affect_Net_Profit;

        /// <summary>
        /// 净利润
        /// </summary>
        [StatementsAttribute("净利润", StatementType.Operation)]
        public decimal Net_Profit;

        /// <summary>
        /// 归属于母公司所有者的净利润
        /// </summary>
        [StatementsAttribute("归属于母公司所有者的净利润", StatementType.Operation)]
        public decimal Attributable_to_Equity_Holders_of_the_Company;

        /// <summary>
        /// 少数股东损益（损益表）
        /// </summary>
        [StatementsAttribute("少数股东损益", StatementType.Operation)]
        public decimal Minority_Interest_from_Consolidated_Statements_of_Operations;


        //每股收益
        //基本每股收益
        //稀释每股收益 
        #endregion

        #region 现金流量表 consolidated statements of cash flows

        #region 经营活动产生的现金流量 Cash flows from operating activities

        /// <summary>
        /// 销售商品、提供劳务收到的现金
        /// </summary>
        [StatementsAttribute("销售商品、提供劳务收到的现金", StatementType.CashFolw)]
        public decimal Cash_Received_from_Sales_of_Goods_or_Rendering_of_Services;

        /// <summary>
        /// 收到的税费返还
        /// </summary>
        [StatementsAttribute("收到的税费返还", StatementType.CashFolw)]
        public decimal Refund_of_Taxes_and_Surcharges;
        
        /// <summary>
        /// 收到其他与经营活动有关的现金
        /// </summary>
        [StatementsAttribute("收到其他与经营活动有关的现金", StatementType.CashFolw)]
        public decimal Cash_Received_Relating_to_Other_Operating_Activities;

        /// <summary>
        /// 经营活动现金流入小计
        /// </summary>
        [StatementsAttribute("经营活动现金流入小计", StatementType.CashFolw)]
        public decimal Subtotal_of_Cash_Inflows_from_Operating_Activities;
        
        /// <summary>
        /// 购买商品、接受劳务支付的现金
        /// </summary>
        [StatementsAttribute("购买商品、接受劳务支付的现金", StatementType.CashFolw)]
        public decimal Cash_Paid_for_Goods_and_Services;

        /// <summary>
        /// 支付给职工以及为职工支付的现金
        /// </summary>
        [StatementsAttribute("支付给职工以及为职工支付的现金", StatementType.CashFolw)]
        public decimal Cash_Paid_to_and_on_Behalf_of_Employees;

        /// <summary>
        /// 支付的各项税费
        /// </summary>
        [StatementsAttribute("支付的各项税费", StatementType.CashFolw)]
        public decimal Payments_of_Taxes_and_Surcharges;

        /// <summary>
        /// 支付其他与经营活动有关的现金
        /// </summary>
        [StatementsAttribute("支付其他与经营活动有关的现金", StatementType.CashFolw)]
        public decimal Cash_Paid_Relating_to_Other_Operating_Activities;

        /// <summary>
        /// 经营活动现金流出小计
        /// </summary>
        [StatementsAttribute("经营活动现金流出小计", StatementType.CashFolw)]
        public decimal Subtotal_of_Cash_Outflows_from_Operating_Activities;

        /// <summary>
        /// 经营活动产生的现金流量净额
        /// </summary>
        [StatementsAttribute("经营活动产生的现金流量净额", StatementType.CashFolw)]
        public decimal Net_Cash_Flows_from_Operating_Activities;

        #endregion

        #region 投资活动产生的现金流量 Cash flows from investing activities

        /// <summary>
        /// 收回投资收到的现金
        /// </summary>
        [StatementsAttribute("收回投资收到的现金", StatementType.CashFolw)]
        public decimal Cash_Received_from_Disposal_of_Investments;

        /// <summary>
        /// 取得投资收益收到的现金
        /// </summary>
        [StatementsAttribute("取得投资收益收到的现金", StatementType.CashFolw)]
        public decimal Cash_Received_form_Returns_on_Investments;

        /// <summary>
        /// 处置固定资产、无形资产和其他长期资产收回的现金净额
        /// </summary>
        [StatementsAttribute("处置固定资产、无形资产和其他长期资产收回的现金净额", StatementType.CashFolw)]
        public decimal Net_Cash_Received_from_Disposal_of_Fixed_Assets_Intangible_Assets_And_Other_Long_Term_Assets;
        
        /// <summary>
        /// 处置子公司及其他营业单位收到的现金净额
        /// </summary>
        [StatementsAttribute("处置子公司及其他营业单位收到的现金净额", StatementType.CashFolw)]
        public decimal Net_Cash_Received_from_Disposal_of_Subsidiaries_and_Other_Business_Units;

        /// <summary>
        /// 收到其他与投资活动有关的现金
        /// </summary>
        [StatementsAttribute("收到其他与投资活动有关的现金", StatementType.CashFolw)]
        public decimal Cash_Received_Relating_to_Other_Investing_Activities;

        /// <summary>
        /// 投资活动现金流入小计
        /// </summary>
        [StatementsAttribute("投资活动现金流入小计", StatementType.CashFolw)]
        public decimal Subtotal_of_Cash_Inflows_from_Investing_Activities;

        /// <summary>
        /// 购建固定资产、无形资产和其他长期资产支付的现金
        /// </summary>
        [StatementsAttribute("购建固定资产、无形资产和其他长期资产支付的现金", StatementType.CashFolw)]
        public decimal Cash_Paid_to_Acquire_Fixed_Assets_Intangible_Aassets_and_Other_Long_Term_Assets;

        /// <summary>
        /// 投资支付的现金
        /// </summary>
        [StatementsAttribute("投资支付的现金", StatementType.CashFolw)]
        public decimal Cash_Paid_to_Acquire_Investments;

        /// <summary>
        /// 取得子公司及其他营业单位支付的现金净额
        /// </summary>
        [StatementsAttribute("取得子公司及其他营业单位支付的现金净额", StatementType.CashFolw)]
        public decimal Net_Cash_Paid_to_Acquire_Subsidiaries_and_Other_Business_Units;

        /// <summary>
        /// 支付其他与投资活动有关的现金
        /// </summary>
        [StatementsAttribute("支付其他与投资活动有关的现金", StatementType.CashFolw)]
        public decimal Cash_Paid_Relating_to_Other_Investing_Activities;

        /// <summary>
        /// 投资活动现金流出小计
        /// </summary>
        [StatementsAttribute("投资活动现金流出小计", StatementType.CashFolw)]
        public decimal Subtotal_of_Cash_Outflows_from_Investing_Activities;

        /// <summary>
        /// 投资活动产生的现金流量净额
        /// </summary>
        [StatementsAttribute("投资活动产生的现金流量净额", StatementType.CashFolw)]
        public decimal Net_Cash_Flows_from_Investing_Activities;

        #endregion

        #region 筹资活动产生的现金流量 Cash flows from financing activities

        /// <summary>
        /// 吸收投资收到的现金
        /// </summary>
        [StatementsAttribute("吸收投资收到的现金", StatementType.CashFolw)]
        public decimal Cash_Received_from_Capital_Contributions;

        /// <summary>
        /// 其中：子公司吸收少数股东投资收到的现金 【和讯没记录这个】
        /// </summary>
        //[StatementsAttribute("子公司吸收少数股东投资收到的现金", StatementType.CashFolw)]
        //public decimal Cash_Received_from_Capital_Contributions_by_Minority_Shareholders_of_Subsidiaries;

        /// <summary>
        /// 取得借款收到的现金
        /// </summary>
        [StatementsAttribute("取得借款收到的现金", StatementType.CashFolw)]
        public decimal Cash_Received_from_Borrowings;

        /// <summary>
        /// 发行债券收到的现金 【和讯没记录这个】
        /// </summary>
        [StatementsAttribute("发行债券收到的现金", StatementType.CashFolw)]
        public decimal Cash_Received_from_Issuance_of_Debentures;

        /// <summary>
        /// 收到其他与筹资活动有关的现金
        /// </summary>
        [StatementsAttribute("收到其他与筹资活动有关的现金", StatementType.CashFolw)]
        public decimal Cash_Received_Relating_to_Other_Financing_Activities;

        /// <summary>
        /// 筹资活动现金流入小计
        /// </summary>
        [StatementsAttribute("筹资活动现金流入小计", StatementType.CashFolw)]
        public decimal Subtotal_of_Cash_Inflows_from_Financing_Activities;

        /// <summary>
        /// 偿还债务支付的现金
        /// </summary>
        [StatementsAttribute("偿还债务支付的现金", StatementType.CashFolw)]
        public decimal Cash_Repayments_of_Borrowings;

        /// <summary>
        /// 分配股利、利润或偿付利息支付的现金
        /// </summary>
        [StatementsAttribute("分配股利、利润或偿付利息支付的现金", StatementType.CashFolw)]
        public decimal Cash_Payments_for_Interest_Expenses_and_Distribution_of_Dividends_or_Profits;

        /// <summary>
        /// 其中：子公司支付给少数股东的股利、利润 【和讯没记录这个】
        /// </summary>
        //[StatementsAttribute("分配股利、利润或偿付利息支付的现金", StatementType.CashFolw)]
        //public decimal Cash_Payments_for_Dividends_or_Profits_to_Minority_Shareholders_of_Subsidiaries;

        /// <summary>
        /// 支付其他与筹资活动有关的现金
        /// </summary>
        [StatementsAttribute("支付其他与筹资活动有关的现金", StatementType.CashFolw)]
        public decimal Cash_Payments_Relating_to_Other_Financing_Activities;

        /// <summary>
        /// 筹资活动现金流出小计
        /// </summary>
        [StatementsAttribute("筹资活动现金流出小计", StatementType.CashFolw)]
        public decimal Subtotal_of_Cash_Outflows_from_Financing_Activities;

        /// <summary>
        /// 筹资活动产生的现金流量净额
        /// </summary>
        [StatementsAttribute("筹资活动产生的现金流量净额", StatementType.CashFolw)]
        public decimal Net_Cash_Flows_from_Financing_Activities;

        #endregion

        #region 汇率变动对现金及现金等价物的影响 Effect of foreign exchange rates changes on cash and cash equivalents
        #endregion

        #region 现金及现金等价物净增加额 Net increase in cash and cash equivalents
        //加：年初现金及现金等价物余额 Cash and cash equivalents at beginning of year
        #endregion

        #region 年末现金及现金等价物余额 Cash and cash equivalent at end of year
        #endregion

        #endregion

        public static IndustrialStatements operator -(IndustrialStatements lfs, IndustrialStatements rfs)
        {
            //IndustrialStatements _fs = new IndustrialStatements();

            Type myType = typeof(IndustrialStatements);
            FieldInfo[] myFields = myType.GetFields(BindingFlags.Public | BindingFlags.Instance);

            for (int i = 0; i < myFields.Length; i++)
            {
                StatementsAttribute obsAttr = (StatementsAttribute)Attribute.GetCustomAttribute(myFields[i], typeof(StatementsAttribute));
                
                //只需要损益表与现金流量表做减法
                if (obsAttr.Type == StatementType.CashFolw ||
                    obsAttr.Type == StatementType.Operation)
                {
                    decimal _tempd = (decimal)myFields[i].GetValue(lfs) - (decimal)myFields[i].GetValue(rfs);
                    myFields[i].SetValue(lfs, _tempd);
                }
            }

            return lfs;
        }
        
        public override string ToString()
        {
            return string.Format("{0}\t{1}\t{2}\t{3}\t{4}\t{5}\t{6}\t{7}\t{8}\t{9}\t{10}\t{11}\t{12}\t{13}\t{14}\t{15}\t{16}\t{17}\t{18}\t{19}\t{20}\t{21}\t{22}\t{23}\t{24}\t{25}\t{26}\t{27}\t{28}\t{29}\t{30}\t{31}\t{32}\t{33}\t{34}\t{35}\t{36}\t{37}\t{38}\t{39}\t{40}\t{41}\t{42}\t{43}\t{44}\t{45}\t{46}\t{47}\t{48}\t{49}\t{50}\t{51}\t{52}\t{53}\t{54}\t{55}\t{56}\t{57}\t{58}\t{59}\t{60}\t{61}\t{62}\t{63}\t{64}\t{65}\t{66}\t{67}\t{68}\t{69}\t{70}\t{71}\t{72}\t{73}\t{74}\t{75}\t{76}\t{77}\t{78}\t{79}\t{80}\t{81}\t{82}\t{83}\t{84}\t{85}\t{86}\t{87}\t{88}\t{89}\t{90}\t{91}\t{92}\t{93}\t{94}\t{95}\t{96}\t{97}\t{98}\t{99}\t{100}\t{101}\t{102}\t{103}\t{104}\t{105}\t{106}\t{107}\t{108}\t{109}\t{110}\t{111}\t{112}\t{113}\t{114}\t{115}\t{116}\t{117}\t{118}\t{119}\t{120}\t{121}\t{122}\t{123}\t{124}\t{125}\t{126}\t{127}\t{128}\t{129}\t{130}\t{131}\t{132}\t{133}\t{134}\t{135}\t{136}\t{137}\t{138}\t{139}\t{140}\t{141}\t{142}\t{143}\t{144}\t{145}\t{146}\r\n",
                        this.Non_recurring_Gains_and_Losses,
                        this.Interest_Expense,
                        this.Interest_Income,
                        this.The_Number_of_Employees,
                        this.Professional_staff_structure,
                        this.The_Number_of_Retired_Employees,
                        this.Managers_Before_The_Three_Annual_Salary,
                        this.The_Top_Three_Holdings_Before_The_Manager,
                        this.Dividends,
                        this.Impairment_Of_Assets,
                        this.Depreciation,
                        this.Amortization,
                        this.Amortization_Of_Long_Term_Prepaid_Expenses,
                        this.Disposal_Of_Fixed_Assets_Intangible_Assets_And_Other_Long_Term_Assets,
                        this.Loss_Of_Disposal_Of_Fixed_Assets,
                        this.Changes_In_Fair_Value_Losses,
                        this.Financial_Costs_for_CashFlow,
                        this.Investment_Losses,
                        this.Decrease_In_Deferred_Income_Tax_Assets,
                        this.Increase_In_Deferred_Income_Tax_Liabilities,
                        this.Decrease_In_Inventories,
                        this.Reduction_Of_Operating_Receivables,
                        this.Increase_In_Operating_Payables,
                        this.Other,
                        this.Cash_at_Bank_and_on_Hand,
                        this.Financial_Assets_Held_for_Trading,
                        this.Notes_Receivable,
                        this.Accounts_Receivable,
                        this.Advances_to_Suppliers,
                        this.Other_Receivables,
                        this.Related_Companies_Receivable,
                        this.Interest_Receivable,
                        this.Dividends_Receivable,
                        this.Inventories,
                        this.Biological_of_Consumable_Assets,
                        this.Current_Portion_of_Non_Current_Assets,
                        this.Other_Current_Assets,
                        this.Total_Current_Assets,
                        this.Available_for_Sale_Financial_Assets,
                        this.Held_to_Maturity_Investments,
                        this.Long_Term_Receivables,
                        this.Long_Term_Equity_Investments,
                        this.Investment_Properties,
                        this.Fixed_Assets,
                        this.Construction_in_Progress,
                        this.Construction_Materials,
                        this.Fixed_Assets_Pending_for_Disposal,
                        this.Bearer_Biological_Assets,
                        this.Oil_and_Gas_Assets,
                        this.Intangible_Assets,
                        this.Development_Costs,
                        this.Goodwill,
                        this.Long_Term_Prepaid_Expenses,
                        this.Deferred_Tax_Assets,
                        this.Other_Non_Current_Assets,
                        this.Total_Non_Current_Assets,
                        this.Total_Assets,
                        this.Short_Term_Borrowings,
                        this.Financial_Liabilities_Held_for_Trading,
                        this.Notes_Payable,
                        this.Accounts_Payable,
                        this.Advances_from_Customers,
                        this.Employee_Benefits_Payable,
                        this.Taxes_Payable,
                        this.Interest_Payable,
                        this.Dividends_Payable,
                        this.Other_Payables,
                        this.Related_Companies_Payable,
                        this.Current_Portion_of_Non_Current_Liabilities,
                        this.Other_Current_Liabilities,
                        this.Total_Current_Liabilities,
                        this.Long_Term_Borrowings,
                        this.Debentures_Payable,
                        this.Long_Term_Payables,
                        this.Payables_for_Specific_Projects,
                        this.Provisions,
                        this.Deferred_Tax_Liabilities,
                        this.Other_Non_Current_Liabilities,
                        this.Total_Non_Current_Liabilities,
                        this.Total_Liabilities,
                        this.Paid_in_Capital,
                        this.Capital_Surplus,
                        this.Surplus_Reserve,
                        this.Stock_Shares,
                        this.Undistributed_Profits,
                        this.Minority_Interest,
                        this.Difference_on_Translation_of_Foreign_Currency_Financial_Statements,
                        this.Adjustment_Income_of_Non_Normal_Operation_of_the_Project,
                        this.Total_Equity_Attributable_to_Equity_Holders_of_the_Company,
                        this.Total_Owners_Equity,
                        this.Total_Liabilities_And_Owner_Equity,
                        this.Revenue,
                        this.Cost_of_Sales,
                        this.Taxes_and_Surcharges,
                        this.Selling_and_Distribution_Expenses,
                        this.General_and_Administrative_Expenses,
                        this.Exploration_Expenses,
                        this.Financial_Expenses,
                        this.Asset_Impairment_Losses,
                        this.Profit_Arising_from_Changes_in_Fair_Value,
                        this.Investment_Income,
                        this.Share_of_Profit_of_Associates_and_Joint_Ventures,
                        this.Affect_the_Operating_Profit_of_the_Other_Subjects,
                        this.Operating_Profit,
                        this.Subsidy_Income,
                        this.Non_Operating_Income,
                        this.Non_Operating_Expenses,
                        this.Losses_on_Disposal_of_Non_Current_Assets,
                        this.The_Other_Subjects_that_Affect_The_Total_Profit,
                        this.Total_Profit,
                        this.Income_Tax_Expenses,
                        this.Other_Subjects_that_Affect_Net_Profit,
                        this.Net_Profit,
                        this.Attributable_to_Equity_Holders_of_the_Company,
                        this.Minority_Interest_from_Consolidated_Statements_of_Operations,
                        this.Cash_Received_from_Sales_of_Goods_or_Rendering_of_Services,
                        this.Refund_of_Taxes_and_Surcharges,
                        this.Cash_Received_Relating_to_Other_Operating_Activities,
                        this.Subtotal_of_Cash_Inflows_from_Operating_Activities,
                        this.Cash_Paid_for_Goods_and_Services,
                        this.Cash_Paid_to_and_on_Behalf_of_Employees,
                        this.Payments_of_Taxes_and_Surcharges,
                        this.Cash_Paid_Relating_to_Other_Operating_Activities,
                        this.Subtotal_of_Cash_Outflows_from_Operating_Activities,
                        this.Net_Cash_Flows_from_Operating_Activities,
                        this.Cash_Received_from_Disposal_of_Investments,
                        this.Cash_Received_form_Returns_on_Investments,
                        this.Net_Cash_Received_from_Disposal_of_Fixed_Assets_Intangible_Assets_And_Other_Long_Term_Assets,
                        this.Net_Cash_Received_from_Disposal_of_Subsidiaries_and_Other_Business_Units,
                        this.Cash_Received_Relating_to_Other_Investing_Activities,
                        this.Subtotal_of_Cash_Inflows_from_Investing_Activities,
                        this.Cash_Paid_to_Acquire_Fixed_Assets_Intangible_Aassets_and_Other_Long_Term_Assets,
                        this.Cash_Paid_to_Acquire_Investments,
                        this.Net_Cash_Paid_to_Acquire_Subsidiaries_and_Other_Business_Units,
                        this.Cash_Paid_Relating_to_Other_Investing_Activities,
                        this.Subtotal_of_Cash_Outflows_from_Investing_Activities,
                        this.Net_Cash_Flows_from_Investing_Activities,
                        this.Cash_Received_from_Capital_Contributions,
                        this.Cash_Received_from_Borrowings,
                        this.Cash_Received_from_Issuance_of_Debentures,
                        this.Cash_Received_Relating_to_Other_Financing_Activities,
                        this.Subtotal_of_Cash_Inflows_from_Financing_Activities,
                        this.Cash_Repayments_of_Borrowings,
                        this.Cash_Payments_for_Interest_Expenses_and_Distribution_of_Dividends_or_Profits,
                        this.Cash_Payments_Relating_to_Other_Financing_Activities,
                        this.Subtotal_of_Cash_Outflows_from_Financing_Activities,
                        this.Net_Cash_Flows_from_Financing_Activities);
        }
    }
}
